<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
$header = $this->getHeadData();
unset($header['scripts']);
$header['scripts']=array();
//$header['script']=array();
$this->setHeadData($header);
$params = &$mainframe->getParams();
$params->set('show_feed_link', 	0);
?>
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $this->baseurl ?>/templates/forbillede/css/styles.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $this->baseurl ?>/templates/forbillede/css/menu.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $this->baseurl ?>/templates/forbillede/css/typography.css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/forbillede/css/default-slider.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/forbillede/css/nivo-slider.css" type="text/css" media="screen" />

<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/forbillede/js/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/forbillede/js/form.js"></script>

<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/forbillede/js/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript">
	$(window).load(function() {
		$('#slider').nivoSlider();
	});
</script>
</head>
	<body>
<div id="wrapper">

<jdoc:include type="modules" name="search" />

<div id="header">
	<div class="inner clearfix">
		<h1 id="logo"><a href=".">Forbillede</a></h1>

		<div id="main-nav">
<jdoc:include type="modules" name="header" />
		</div>
		<div class="top-button">
<jdoc:include type="modules" name="top-buttons" />
		</div>
	</div>
</div><!--header-->
<?php
$menu = JSite::getMenu();
if ($menu->getActive() == $menu->getDefault())
{
?>
	<div id="banner">
		<div class="inner">
			<div class="bor1 pad4 clearfix">

<jdoc:include type="modules" name="banner" />

				<div class="welcome">
<jdoc:include type="modules" name="welcome" />
				</div>
			</div>
		</div>
	</div><!--slideshow-->
<?php }?>
	<div id="top-container">
<jdoc:include type="modules" name="below_slideshow" />
	</div><!--top-container-->
<?php
if ($menu->getActive() == $menu->getDefault())
{
?>
	<div id="top-container2">
<jdoc:include type="component" />
	</div><!--top-container-->
<?php }else{?>
	<div id="main-container">
		<div class="inner clearfix">
			<div class="shadow-l"></div>
			<div class="shadow-r"></div>
<jdoc:include type="component" /><!--main-body-->
		</div>
	</div><!--main-container-->
<?php }?>

<div id="footer">
	<div class="inner clearfix">
<jdoc:include type="modules" name="footer" />
	</div>
</div><!--footer-->

</div><!--wrapper-->
	</body>
</html>